package org.supper.user.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.supper.user.feign.hystrix.TestHystrix;

@Component
@FeignClient(value = "test11",contextId = "test11",fallback = TestHystrix.class)
public interface TestFeign {
    @GetMapping(value="/test/test")
    String getTest();
}
